package cn.web.tunnelrobot.dao;

import cn.web.tunnelrobot.dto.WarningStatistics;
import cn.web.tunnelrobot.pojo.Threshold;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ThresholdDao {
    //批量修改阈值信息
    int updateBatchThreshold(@Param("thresholdList") List<Threshold> thresholdList);
    //查询阈值列表
    List<Threshold> getThresholdList(@Param("thWarningSign")Integer thWarningSign);
    //查询警告统计
    Integer getThresholdListByLevelHandled(@Param("level") String level,@Param("wrAffirmStatus") Integer wrAffirmStatus);

    Threshold getThresholdListById(@Param("thId")Integer thId);
}
